#define _CRT_SECURE_NO_WARNINGS 1

#include "shared_ptr.h"
using namespace std;

class C
{
public:
	int _a = 0;
	int _b = 1;
};

int main()
{
	kia::shared_ptr<int> sp1 = new int(10);
	kia::shared_ptr<int> sp3(sp1);
	kia::shared_ptr<int> sp2 (new int(12));
	kia::shared_ptr<int> sp4;
	sp4 = sp1;
	kia::shared_ptr<int> sp5;
	kia::shared_ptr<C> sp6 = new C;
	cout << *sp3 << endl;
	cout << *sp2 << endl;
	cout << sp6->_a << " " << sp6->_b << endl;
	return 0;
}